package v2

import "server/service/v1/system"

type ServiceAppV1 struct {
	CaptchaService  system.CaptchaService
	UserService     system.UserService
	RoleService     system.RoleService
	MenuService     system.MenuService
	UserRoleService system.UserRoleService
	RoleMenuService system.RoleMenuService
}

func NewServiceApp() *ServiceAppV1 {
	return &ServiceAppV1{
		CaptchaService:  system.CaptchaService{},
		UserService:     system.UserService{},
		RoleService:     system.RoleService{},
		MenuService:     system.MenuService{},
		UserRoleService: system.UserRoleService{},
		RoleMenuService: system.RoleMenuService{},
	}
}
